<!DOCTYPE html>
<html>
<head>
	<style>
		body{ background:#f2f2f2;}
		.error-box{ width:1100px; margin:10% auto;}
		.error-img{ text-align:center;}
		.error-content{ text-align:center;}
		.error-content strong{ font-size:36px; color:#e8411b; font-weight:bold;}
		.error-content p{ font-size:18px; color:#b3b3b3; padding-top:50px;}
		.org,.org a,.org a:hover,.a.org,a:hover.org{ color:#ff5601;}
	</style>
</head>
<body>
	<div class="error-box">
		<div class="error-img">
			<img src="<?php echo __ROOT__.'/Public/error';?>/img/tips.png"/>
		</div>
		<div class="clearfix"></div>
		<div class="error-content">
			<present name="message">
				<strong><?php echo($message); ?></strong>
			<else/>
				<strong><?php echo($error); ?></strong>
			</present>
			<p> <a id="href" class="org" href="<?php echo($jumpUrl); ?>">返回上一个页面</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;等待时间： <b id="wait"><?php echo($waitSecond); ?></b></p>
		</div>
	</div>
</body>
<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
	var time = --wait.innerHTML;
	if(time <= 0) {
		location.href = href;
		clearInterval(interval);
	};
}, 1000);
})();
</script>
</html>
